import request from '@/utils/request'

// 查询检查费用列表
export function listCheckfee(query) {
  return request({
    url: '/keshi/checkfee/list',
    method: 'get',
    params: query
  })
}

// 查询检查费用详细
export function getCheckfee(feeId) {
  return request({
    url: '/keshi/checkfee/' + feeId,
    method: 'get'
  })
}

// 新增检查费用
export function addCheckfee(data) {
  return request({
    url: '/keshi/checkfee',
    method: 'post',
    data: data
  })
}

// 修改检查费用
export function updateCheckfee(data) {
  return request({
    url: '/keshi/checkfee',
    method: 'put',
    data: data
  })
}

// 删除检查费用
export function delCheckfee(feeId) {
  return request({
    url: '/keshi/checkfee/' + feeId,
    method: 'delete'
  })
}

// 导出检查费用
export function exportCheckfee(query) {
  return request({
    url: '/keshi/checkfee/export',
    method: 'get',
    params: query
  })
}